package bookStore.vo;

import java.util.List;

/**
 * 浏览单个图书用vo
 * @author lian jie
 *
 */
public class BookVo {
	private int id;
	private String title;
	private String authorName;
	/**
	 * authorID,用来为作者姓名添加超链接
	 */
	private int authorId;
	private String introduction;
	/**
	 * 平均分
	 */
	private double score;
	private String picture;
	/**
	 * 最新评论10条
	 */
	private List <String> newestOpinions;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthorName() {
		return authorName;
	}
	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public int getAuthorId() {
		return authorId;
	}
	public void setAuthorId(int authorId) {
		this.authorId = authorId;
	}
	public List<String> getNewestOpinions() {
		return newestOpinions;
	}
	public void setNewestOpinions(List<String> newestOpinions) {
		this.newestOpinions = newestOpinions;
	}
	

	
}
